// 公共类型定义

// 分页参数
export interface PaginationParams {
  page?: number;
  pageSize?: number;
  keyword?: string;
}

// 分页响应
export interface PaginationResponse<T> {
  data: T[];
  total: number;
}

// 客户信息接口
export interface Customer {
  id: string;
  name?: string;
  contactPerson?: string;
  contactPhone?: string;
  address?: string;
  email?: string;
  level?: string;
  industry?: string;
  createTime?: string;
  updateTime?: string;
  remark?: string;
  // 以下字段用于选择器组件
  customerName?: string;
  idType?: string;
  idNumber?: string;
}

// 日期范围
export interface DateRange {
  start: string;
  end: string;
}

// 走访状态
export type VisitStatus =
  | "planned"
  | "in_progress"
  | "completed"
  | "overdue"
  | "cancelled";

// 客户等级
export type CustomerLevel = "A" | "B" | "C" | "D" | "E";

// 行业类型
export type IndustryType =
  | "IT"
  | "Finance"
  | "Manufacturing"
  | "Retail"
  | "Healthcare"
  | "Education"
  | "Other";
